﻿<%@ Page Title="" Language="C#" MasterPageFile="~/kjxymaster.master" AutoEventWireup="true" CodeFile="detail.aspx.cs" Inherits="kjxy_detail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="main">
	    <div class="left">
		    <div class="title">
			    <%=parent_name %>
		    </div>
		    <div class="content">
                <ul>
                     <%
                        
                        foreach (Forums aF in fs)
                        {
                            if (aF.ID.Equals(fourm_id))
                            { 
                        %>
                                <li><a href='list.aspx?fourm_id=<%=aF.ID %>' style=" background:url(images/ico_03.jpg) no-repeat;"><strong><%=aF.Name%></strong></a></li>

                        <%          
                                }
                            else
                            { 
                        %>
                                <li><a href='list.aspx?fourm_id=<%=aF.ID %>'><%=aF.Name%></a></li>
                        <%     
                                }
                        }
                          
                     %>
                </ul>
		    </div>
	    </div>
	    <div class="right">
            <asp:Repeater ID="Repeater2" runat="server">
                <ItemTemplate>
		            <div class="title">
			            <%#Eval("title") %> 
		            </div>
		            <div class="content">
			            <%#Eval("body") %>
		            </div>
                </ItemTemplate>
            </asp:Repeater>
	    </div>
    </div>
</asp:Content>

